//Copyright (c) Microsoft Corporation.  All rights reserved.

#pragma once

#include "WICBitmapSource.h"

using namespace System;

namespace  Microsoft { namespace WindowsAPICodePack { namespace DirectX { namespace WindowsImagingComponent {

/// <summary>
/// Defines methods that add the concept of writeability and static in-memory representations 
/// of bitmaps to WICBitmapSource. 
/// <para>(Also see IWICBitmap interface)</para>
/// </summary>
public ref class WICBitmap :  public BitmapSource
{
public:
    /// <summary>
    /// Changes the physical resolution of the image.
    /// </summary>
    /// <param name="dpiX">The horizontal resolution.</param>
    /// <param name="dpiY">The vertical resolution.</param>
    void SetResolution( double dpiX, double dpiY );

public protected :
    WICBitmap()
	{ }  

	WICBitmap(IWICBitmap* _bitmap) : BitmapSource(_bitmap)
	{ }    
};

} } } }
